/**
 * Copyright 2015 ABSir's Studio
 * 
 * All right reserved
 *
 * Create on 2015年8月22日 下午7:20:11
 */
package com.absir.server.socket;

import java.io.Serializable;
import java.nio.channels.SocketChannel;

/**
 * @author absir
 *
 */
public interface IServerContext {

	/**
	 * @param id
	 * @param channelContext
	 */
	public void loginSocketChannelContext(Serializable id, SocketChannelContext channelContext);

	/**
	 * @param id
	 * @param socketChannel
	 * @return
	 */
	public SocketChannelContext logoutSocketChannelContext(Serializable id, SocketChannel socketChannel);
}
